package com.self.admin.service;

import com.self.admin.model.SysMenu;
import com.self.admin.model.SysRolePrivilege;
import com.baomidou.mybatisplus.extension.service.IService;
import com.self.admin.vo.RolePrivilegesParamVo;

import java.util.List;

public interface SysRolePrivilegeService extends IService<SysRolePrivilege>{


    List<SysMenu> findSysMenuAndPrivileges(Long roleId);

    void grantPrivileges(RolePrivilegesParamVo rolePrivilegesParam);
}
